home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 March / PCWMAR09.iso / Software / Freeware / Adobe Media Player 1.6 / adobe_media_player.air / AMP.swf / scripts / mx / effects / SetPropertyAction.as < prev    next >
Encoding:
Text File  |  2008-11-25  |  934 b   |  37 lines

  1. package mx.effects
  2. {
  3.    import mx.core.mx_internal;
  4.    import mx.effects.effectClasses.SetPropertyActionInstance;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class SetPropertyAction extends Effect
  9.    {
  10.       mx_internal static const VERSION:String = "3.2.0.3958";
  11.       
  12.       public var value:*;
  13.       
  14.       public var name:String;
  15.       
  16.       public function SetPropertyAction(param1:Object = null)
  17.       {
  18.          super(param1);
  19.          instanceClass = SetPropertyActionInstance;
  20.       }
  21.       
  22.       override protected function initInstance(param1:IEffectInstance) : void
  23.       {
  24.          super.initInstance(param1);
  25.          var _loc2_:SetPropertyActionInstance = SetPropertyActionInstance(param1);
  26.          _loc2_.name = name;
  27.          _loc2_.value = value;
  28.       }
  29.       
  30.       override public function getAffectedProperties() : Array
  31.       {
  32.          return [name];
  33.       }
  34.    }
  35. }
  36.  
  37.